Developer --> Technical Publications
PATHJava Developer Documentation > Mac OS Runtime for Java > JManager > Programming With JManager


Drag-And-Drop Support

If your embedding application supports the Drag Manager, you can pass drag-and-drop information to a frame using JManager functions. The JMFrameDragTracking function JMFrameDragTracking allows your frame to respond to an item dragged over it (for example, creating a highlight to signal that the drag item is valid for the frame). If the user drops the item within the frame boundaries, the JMFrameDragReceive function JMFrameDragReceive lets you pass information about the dropped item to the frame.

These functions correspond respectively to the application-defined Drag Manager functions DragTrackingHandler and DragReceiveHandler , and are called from within these handlers. For more information about the Drag Manager, see the Drag Manager Programmer's Guide .

Note

The Java JDK standards 1.1.x and earlier do not support drag and drop.


© 1998 Apple Computer, Inc. — (Last Updated 3 Dec 98)

Previous | Back Up One Level | Next |